<!--<?php
require_once template('header'); 
print <<<EOT
<!--右边开始-->
<div id="right">
	<table class="clst" align="center" cellpadding="0" cellspacing="1">
		<tr>
			<td class="tleft">$lang[order_list]</td>
			<td class="tright">$lang[now_status]：$order_menu</td>
		</tr>
	</table>
	<table cellpadding="0" cellspacing="1" class="list">
		<tr>
			<th width="6%">No.</th>
			<th width="16%">$lang[order_number]</th>
			<th width="12%">$lang[order]</th>
			<th width="15%">$lang[payment]</th>
			<th width="12%">$lang[amount_remittances]</th>
			<th width="15%">$lang[order_sta]</th>
			<th width="10%">$lang[order_time]</th>
			<th width="14%">$lang[operation]</th>
		</tr>
<!--
EOT;
foreach ($order_rt as $val){
print <<<EOT
-->		
		<tr id="r$val[uid]">
			<td>$val[uid]</td>
			<td><a href="$val[url]" target="_blank">$val[ordersn]</a><br />$val[order_type]</td>
			<td>$val[username]</td>
			<td>$val[pay_name]</td>
			<td>$val[order_amount]</td>
			<td>$val[status]</td>
			<td>$val[addtime]</td>
			<td><a href="$val[edit]">$lang[laws]</a> | <a href="javascript:;" onclick="remove('$val[uid]','$val[del]');">$lang[remove]</a></td>
		</tr>
<!--
EOT;
} print <<<EOT
-->
		
	</table>
	<div id="page"><span>$page_list</span></div>
	
	<!-- 订单详细搜索 -->		
	<form name="search_form" action="admincp.php?module=order&action=list" method="post">
	<input type="hidden" name="amode" value="detail_search"/>
	<table cellpadding="0" cellspacing="1" class="list1">
		<tr>
			<th colspan="6">$lang[orders_search]</th>
		</tr>
		<tr >
			<td class="td_left">$lang[order_time]</td>
			<td colspan="5">
			<input type="text" name="start_time" size="29" value="$start_time" id="start_time" ><input type="reset" value="..."
onclick="return showCalendar('start_time', 'y-m-d');">
 <input type="text" name="end_time" size="29" value="$end_time" id="end_time" ><input type="reset" value="..."
onclick="return showCalendar('end_time', 'y-m-d');">
			<input type="checkbox" name="ps_duse" value="1" $duse_check > <span class="cpsm">$lang[time_limit] </span>
			</td>
		</tr>
		<tr >
			<td class="td_left">$lang[consignee]</td>
			<td><input type="text" name="ps_name" id="ps_name" size="10" maxLength="100" value="$ps_name" class="text" /></td>
			<td class="td_left">$lang[email]</td>
			<td><input type="text" name="ps_email" id="ps_email" size="10" maxLength="100" value="$ps_email" class="text" /></td>
			<td class="td_left">$lang[order_number]</td>
			<td><input type="text" name="ordersn" id="ordersn" size="10" maxLength="100" value="$ordersn" class="text" /> <span class="cpsm">←$lang[order_msg].</span></td>
		</tr>
		<tr>
			<td class="td_left"><input name="member" type="submit" value="$lang[enquiries]" class="inp" /></td>
			<td colspan="5"></td>
		</tr>
	</table>
	</form>
</div>
<!--
EOT;
?>-->